package com.share.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.share.device.domain.Area;
import com.share.device.domain.dto.AreaDto;
import com.share.device.domain.vo.AreaVo;

import java.util.List;

public interface AreaService extends IService<Area> {
    PageInfo<AreaVo> getAreaList(AreaDto areaDto);

    String add(Area area);

    AreaVo getAreaById(Integer id);

    List<AreaVo> queryList(Integer id);
}
